package models
{
	public class UMLAttribute extends Resource
	{
		public function UMLAttribute(classId:int = 0, name:String = "") {
			super(new XML('<attribute />'));
			this.name = name;
			this.classId = classId;
		}
		
		public function get oid() : int {
			return _node.@oid;
		}
		public function set oid(oid:int) : void {
			_node.@oid = oid;
		}
		
		public function get name() : String {
			return _node.@name;
		}
		public function set name(name:String) : void {
			_node.@name = name;
		}
		
		public function get classId() : int {
			return _node.@classId;
		}
		public function set classId(classId:int) : void {
			_node.@classId = classId;
		}
		
	}
}